﻿namespace KinonekoSoftware.Studio.Resources.Converters
{
    using System.Globalization;

#if AVALONIA
    using Avalonia.Data.Converters;
#else
    using System.Windows.Data;

#endif

    public abstract class OneWayConverter : IValueConverter
    {

        public abstract object Convert(object value, Type targetType, object parameter, CultureInfo culture);

        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) => throw new NotSupportedException();
    }
}